#ifndef QxWellLogDefine_HPP
#define QxWellLogDefine_HPP

#include <QString>

/*
Curve Type:
0x10000001  generic curve
0x10000002  array   curve
*/

struct QxWellLogDefine
{
  QxWellLogDefine() {
    startDepth = 0;
    stopDepth  = 0;
    stepDepth  = 0;
    nullValue  = 0;
    type       = 0x10000001;
  }

  bool operator == ( const QxWellLogDefine& define ) {
    if( define.wellName    == this->wellName    &&
        define.wellLogName == this->wellLogName &&
        define.startDepth  == this->startDepth  &&
        define.stopDepth   == this->stopDepth   &&
        define.stepDepth   == this->stepDepth   &&
        define.nullValue   == this->nullValue   &&
        define.type        == this->type  ) {
      return true;
    } else {
      return false;
    }
  }

  bool operator != ( const QxWellLogDefine& define ) {
    return !(*this == define);
  }

  QString wellName;
  QString wellLogName;

  float   startDepth;
  float   stopDepth;
  float   stepDepth;
  float   nullValue;
  int     type;
};

#endif // QxWellLogDefine_HPP